<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
    <link href="static/cat.ico" rel="shortcut icon">
    <title>微信调试器</title>
    <!--vue-->
    <script src="https://cdn.bootcss.com/vue/2.4.2/vue.min.js"></script>
    <script src="https://cdn.bootcss.com/vue-router/2.7.0/vue-router.min.js"></script>
    <script src="https://cdn.bootcss.com/vuex/2.3.1/vuex.min.js"></script>
    <script src="https://cdn.bootcss.com/axios/0.16.2/axios.min.js"></script>
    <!-- Font Awesome -->
    <link href="https://cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
    <!--weui-->
    <link rel="stylesheet" href="static/css/weui.css">
    <script src="static/css/weui.js"></script>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css">
    <!--zepto-->
    <script src="https://cdn.bootcss.com/zepto/1.2.0/zepto.min.js"></script>
    <!-- wx js sdk -->
    <script src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>


    <!--仿微信公众号-->
    <link rel="stylesheet" href="static/Public/css/common.css"/>
    <script src='static/Public/js/jquery.min.js'></script>
    <script src='static/Public/js/fastclick.min.js'></script>
    <script src='static/Public/js/hammer.min.js'></script>
    <script src='static/Public/js/layer/layer.js'></script>
    <script src='static/Public/js/upload.min.js'></script>
    <script>
      //点击300ms延迟 解决
      if ('addEventListener' in document) {
        document.addEventListener('DOMContentLoaded', function() {
          FastClick.attach(document.body);
        }, false);
      }
    </script>
  </head>
  <body>
    <div id="app"></div>
    <!-- built files will be auto injected -->
  </body>


  <script>
    $.fn.extend({
      animateCss: function(animationName, callback) {
        var animationEnd = (function(el) {
          var animations = {
            animation: 'animationend',
            OAnimation: 'oAnimationEnd',
            MozAnimation: 'mozAnimationEnd',
            WebkitAnimation: 'webkitAnimationEnd',
          };

          for (var t in animations) {
            if (el.style[t] !== undefined) {
              return animations[t];
            }
          }
        })(document.createElement('div'));

        this.addClass('animated ' + animationName).one(animationEnd, function() {
          $(this).removeClass('animated ' + animationName);

          if (typeof callback === 'function') callback();
        });

        return this;
      },
    });
  </script>
</html>
